package com.gitee.cui.http.starter;

import com.gitee.cui.http.netty.echo.HttpEchoServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 回显服务启动类
 * @author cuiqingqiang
 * @version 1.0
 * @date 2021/10/28 17:27
 **/
@ComponentScan("com.gitee.cui.http")
@SpringBootApplication
public class EchoServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(EchoServerApplication.class, args);
        HttpEchoServer.runServer();
    }
}
